body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f0f2f5;
}

.site-title {
  font-size: 24px;
  color: transparent;
  background: linear-gradient(45deg, #4ecdc4, #1677ff, #ff6b6b);
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: bold;
  margin: 0;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.site-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #4ecdc4, #1677ff, #ff6b6b);
  transform: scaleX(0);
  transform-origin: left;
  animation: titleLineAnimation 0.6s ease-out forwards;
}

@keyframes titleLineAnimation {
  to {
    transform: scaleX(1);
  }
}

.logo {
  float: left;
  width: 120px;
  height: 31px;
  margin: 16px 24px 16px 0;
  background: rgba(255, 255, 255, 0.3);
}

.ant-row-rtl .logo {
  float: right;
  margin: 16px 0 16px 24px;
}

.card-with-shadow {
  box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16),
              0 3px 6px 0 rgba(0, 0, 0, 0.12),
              0 5px 12px 4px rgba(0, 0, 0, 0.09);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.card-with-shadow:hover {
  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.24),
              0 6px 12px 0 rgba(0, 0, 0, 0.16),
              0 9px 18px 8px rgba(0, 0, 0, 0.10);
}

.ant-card-head-title {
  font-weight: 600;
  font-size: 16px;
}

.ant-list-item {
  transition: all 0.3s ease;
  border-radius: 4px;
  padding: 12px;
}

.ant-list-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.ant-tag {
  border-radius: 4px;
  padding: 4px 8px;
  margin: 4px;
}

.ant-statistic-title {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.45);
}

.ant-statistic-content {
  font-size: 20px;
  font-weight: 600;
}

.ant-btn {
  border-radius: 6px;
  height: 40px;
  padding: 0 20px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ant-btn .anticon {
  margin-right: 8px;
}

/* 热门话题样式 */
.hot-topic-item {
    display: flex !important;
    align-items: center !important;
    padding: 12px 16px !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    background: #fff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}

.hot-topic-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

.topic-rank {
    margin-right: 16px;
    width: 24px;
}

.rank-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
}

.rank-1 {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
}

.rank-2 {
    background: linear-gradient(45deg, #C0C0C0, #A9A9A9);
    color: white;
}

.rank-3 {
    background: linear-gradient(45deg, #CD7F32, #8B4513);
    color: white;
}

.topic-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topic-tag {
    font-size: 14px !important;
    padding: 4px 12px !important;
}

.topic-count {
    color: #666;
    font-size: 14px;
}

/* 卡片标题样式优化 */
.ant-card-head {
    border-bottom: 2px solid #f0f0f0;
}

.ant-card-head-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1a1a1a;
}

/* 统计数字样式优化 */
.ant-statistic-content-value {
    font-size: 28px !important;
    font-weight: 600 !important;
    background: linear-gradient(45deg, #1677ff, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ant-statistic-title {
    font-size: 16px !important;
    margin-bottom: 8px !important;
}

/* 文章列表样式优化 */
.ant-list-item-meta-title {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.ant-list-item-meta-title a {
    color: #1a1a1a !important;
    transition: color 0.3s ease;
}

.ant-list-item-meta-title a:hover {
    color: #1677ff !important;
}

/* 词云图容器样式 */
.ant-card-body {
    overflow: hidden;
}

/* 今日文章总结样式 */
.summary-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: none !important;
}

.summary-header {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    color: transparent;
    background: linear-gradient(45deg, #1677ff, #4ecdc4, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.summary-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #1677ff, #4ecdc4, #ff6b6b);
    transform: scaleX(0);
    transform-origin: left;
    animation: titleLineAnimation 0.6s ease-out forwards;
}

.summary-icon {
    font-size: 28px;
    margin-right: 12px;
    color: transparent;
    background: linear-gradient(45deg, #1677ff, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
}

.summary-content {
    font-size: 24px;
    line-height: 1.5;
    color: #262626;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(22, 119, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #1677ff;
}

.summary-stats {
    padding: 16px 0;
}

.summary-statistic {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.summary-statistic:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    font-size: 16px;
    margin-bottom: 16px;
    width: 100%;
}

.stat-title .anticon {
    font-size: 20px;
    background: linear-gradient(45deg, #1677ff, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ant-statistic {
    width: 100%;
    text-align: center;
}

.ant-statistic-content {
    font-size: 32px !important;
    font-weight: 600 !important;
    color: transparent !important;
    background: linear-gradient(45deg, #1677ff, #4ecdc4) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.update-button {
    background: linear-gradient(45deg, #1677ff, #4ecdc4) !important;
    border: none !important;
    padding: 0 24px !important;
    height: 44px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(22, 119, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.update-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3) !important;
}

.update-button .anticon {
    font-size: 18px !important;
}

/* 可视化分析按钮样式 */
.visual-button {
    background: linear-gradient(45deg, #722ed1, #1890ff) !important;
    border: none !important;
    padding: 0 24px !important;
    height: 44px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(114, 46, 209, 0.2) !important;
    transition: all 0.3s ease !important;
}

.visual-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(114, 46, 209, 0.3) !important;
}

.visual-button .anticon {
    font-size: 18px !important;
}

/* 可视化模态框样式 */
.visual-modal .ant-modal-content {
    border-radius: 12px;
    overflow: hidden;
}

.visual-modal .ant-modal-header {
    padding: 20px 24px;
    border-bottom: 2px solid #f0f0f0;
}

.visual-modal-title {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: transparent;
    background: linear-gradient(45deg, #722ed1, #1890ff);
    -webkit-background-clip: text;
    background-clip: text;
}

.visual-icon {
    font-size: 24px;
    margin-right: 12px;
    color: transparent;
    background: linear-gradient(45deg, #722ed1, #1890ff);
    -webkit-background-clip: text;
    background-clip: text;
}

.visual-container {
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* 可视化卡片样式 */
.visual-card {
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.visual-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.visual-card .ant-card-head {
    padding: 16px 20px;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
}

.visual-card .ant-card-head-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    background: linear-gradient(45deg, #1677ff, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.visual-card .ant-card-body {
    padding: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

/* 导航菜单样式优化 */
.ant-menu-dark .ant-menu-item-selected {
    background: linear-gradient(45deg, #1677ff, #4ecdc4) !important;
}

.ant-menu-dark .ant-menu-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.ant-menu-dark .ant-menu-item .anticon {
    margin-right: 8px;
    font-size: 16px;
}

/* 卡片标题带图标样式 */
.card-title-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    color: transparent;
    background: linear-gradient(45deg, #1677ff, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
}

.card-title-icon {
    font-size: 20px;
}

/* 可视化容器样式 */
.visualization-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.visualization-container .visual-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
}

.visualization-container .visual-card .ant-card-head {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
}

.visualization-container .visual-card .ant-card-body {
    padding: 24px;
    height: 400px;
} 